-- GENERATED SPELL FOR [Valdred Moray] --


function spell0_2332(pUnit, Event) --@Sinister Strike,n/a--
pUnit:FullCastSpellOnTarget(14873,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2332', 569, 1)
end

function Sorts_2332(pUnit, Event)
local choix_sorts_2332 = math.random(0, 0)
if choix_sorts_2332 == 0 then
pUnit:RegisterEvent('spell0_2332', 1, 1)
end
end

function mob2332_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2332', math.random(1500, 3000), 1)
end

function mob2332_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2332_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2332_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2332, 1, 'mob2332_Action')
RegisterUnitEvent(2332, 2, 'mob2332_Leave')
RegisterUnitEvent(2332, 3, 'mob2332_Kill')
RegisterUnitEvent(2332, 4, 'mob2332_Die')
